package com.lzw.service.impl.student;

import com.lzw.mapper.student.SRoomM;
import com.lzw.pojo.RCR;
import com.lzw.service.student.SRoomS;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.List;

@Service
public class SRoomSI implements SRoomS {

    @Autowired
    private SRoomM roomM;


    @Override
    public void add(RCR rcr) {
        roomM.add(rcr);
    }

    @Override
    public List<RCR> get(String student) {
        return roomM.get(student);
    }
}
